package com.mes.sso.mapper;

import com.mes.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author 张喆
 * @Company
 * @Description
 * @Time 2024/10/14 18:46
 */
@Mapper
public interface UserMapper {
    /**
     * 依照传入用户名查询用户信息
     *
     * @param username
     * @return
     */
    User selectByUsername(String username);
    User selectByUserId(Long userId);
}
